pub mod root;
pub mod sound_wave_controller;
pub mod station_audio_controller;
pub mod station_audio_view_controller;
pub mod test_controller;
pub mod user_controller;

use crate::AppState;
use axum::Router;

/// 统一创建所有业务路由
pub fn create_routes() -> Router<AppState> {
    Router::new()
        .merge(user_controller::routes())
        .merge(test_controller::routes())
        .merge(sound_wave_controller::routes())
        .merge(station_audio_controller::routes())
        .merge(station_audio_view_controller::routes())
    // 未来添加更多路由模块：
    // .merge(product_controller::routes())
    // .merge(order_controller::routes())
}
